package com.ruoyi.record.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 隐患治理记录对象 remediation_record
 * 
 * @author zolet
 * @date 2025-05-06
 */
public class RemediationRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** id */
    private Long eventControlId;

    /** 当前状态 */
    @Excel(name = "当前状态")
    private String status;

    /** 发现时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发现时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date discoveryTime;

    /** 解决时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "解决时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date resolutionTime;

    /** 隐患治理详情 */
    private String details;

    /** 图片证明 */
    @Excel(name = "图片证明")
    private String imagePath;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setEventControlId(Long eventControlId) 
    {
        this.eventControlId = eventControlId;
    }

    public Long getEventControlId() 
    {
        return eventControlId;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDiscoveryTime(Date discoveryTime) 
    {
        this.discoveryTime = discoveryTime;
    }

    public Date getDiscoveryTime() 
    {
        return discoveryTime;
    }

    public void setResolutionTime(Date resolutionTime) 
    {
        this.resolutionTime = resolutionTime;
    }

    public Date getResolutionTime() 
    {
        return resolutionTime;
    }

    public void setDetails(String details) 
    {
        this.details = details;
    }

    public String getDetails() 
    {
        return details;
    }

    public void setImagePath(String imagePath) 
    {
        this.imagePath = imagePath;
    }

    public String getImagePath() 
    {
        return imagePath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("eventControlId", getEventControlId())
            .append("status", getStatus())
            .append("discoveryTime", getDiscoveryTime())
            .append("resolutionTime", getResolutionTime())
            .append("details", getDetails())
            .append("imagePath", getImagePath())
            .toString();
    }
}
